package cn.iocoder.yudao.module.cmt.controller.admin.base.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 商户信息新增/修改 Request VO")
@Data
public class BaseMerchantInfoSaveReqVO {

    @Schema(description = "商户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "社区ID", example = "1")
    private Long communityId;

    @Schema(description = "商户编号", example = "M20250101001")
    private String merchantNo;

    @Schema(description = "商户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "XX服务公司")
    @NotEmpty(message = "商户名称不能为空")
    private String name;

    @Schema(description = "商户简称", example = "XX服务")
    private String shortName;

    @Schema(description = "商户logo", example = "https://www.iocoder.cn/xx.png")
    private String logo;

    @Schema(description = "商户类型：1企业 2机构 3社会组织 4个体", example = "1")
    private Integer merchantType;

    @Schema(description = "营业执照", example = "https://www.iocoder.cn/license.png")
    private String businessLicense;

    @Schema(description = "营业执照号", example = "91110000XXXXXXXXXX")
    private String licenseNo;

    @Schema(description = "法人代表", example = "张三")
    private String legalPerson;

    @Schema(description = "联系人", example = "李四")
    private String contactPerson;

    @Schema(description = "联系电话", example = "13800138000")
    private String contactPhone;

    @Schema(description = "联系邮箱", example = "test@example.com")
    private String contactEmail;

    @Schema(description = "省份", example = "广东省")
    private String province;

    @Schema(description = "城市", example = "深圳市")
    private String city;

    @Schema(description = "区县", example = "南山区")
    private String district;

    @Schema(description = "详细地址", example = "科技园XX路XX号")
    private String address;

    @Schema(description = "商户简介", example = "专业提供社区服务")
    private String introduction;

    @Schema(description = "服务范围", example = "全市范围")
    private String serviceScope;

    @Schema(description = "管理员会员ID", example = "1")
    private Long adminUserId;

    @Schema(description = "审核状态：0待审核 1通过 2拒绝", example = "1")
    private Integer auditStatus;

    @Schema(description = "审核人ID", example = "1")
    private Long auditUserId;

    @Schema(description = "审核时间")
    private LocalDateTime auditTime;

    @Schema(description = "审核备注", example = "审核通过")
    private String auditRemark;

    @Schema(description = "商户状态：0停用 1正常 2冻结", example = "1")
    private Integer merchantStatus;

    @Schema(description = "服务到期时间")
    private LocalDateTime expireTime;

    @Schema(description = "排序", example = "1")
    private Integer sort;

    @Schema(description = "状态：0停用 1启用", example = "1")
    private Integer status;

    @Schema(description = "备注", example = "备注信息")
    private String remark;

}
